/*  LOOT

    A load order optimisation tool for
    Morrowind, Oblivion, Skyrim, Skyrim Special Edition, Skyrim VR,
    Fallout 3, Fallout: New Vegas, Fallout 4 and Fallout 4 VR.

    Copyright (C) 2018    Oliver Hamlet

    This file is part of LOOT.

    LOOT is free software: you can redistribute
    it and/or modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation, either version 3 of
    the License, or (at your option) any later version.

    LOOT is distributed in the hope that it will
    be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with LOOT.  If not, see
    <https://www.gnu.org/licenses/>.
    */

#ifndef LOOT_GUI_STATE_GAME_GROUP_NODE_POSITIONS
#define LOOT_GUI_STATE_GAME_GROUP_NODE_POSITIONS

#include <filesystem>
#include <string>
#include <vector>

namespace loot {
struct GroupNodePosition {
  std::string groupName;
  double x{0.0};
  double y{0.0};
};

std::vector<GroupNodePosition> loadGroupNodePositions(
    const std ::filesystem::path& filePath);

void saveGroupNodePositions(const std ::filesystem::path& filePath,
                            const std::vector<GroupNodePosition>& positions);
}

#endif
